libxl: change xl_cfg_get_list to take a dont_warn parameter
authorAndre Przywara <andre.przywara@amd.com>
Tue, 21 Sep 2010 15:41:09 +0000 (16:41 +0100)
committerAndre Przywara <andre.przywara@amd.com>
Tue, 21 Sep 2010 15:41:09 +0000 (16:41 +0100)
commit88ac54776934daa7f57ec06f94c3d5306027220f
tree3971ee4a5e5cb3c6192a34e65c70be1ed2d90ba5
parente1d00a45e0f526c7ba98eba7f400987645f18a86
libxl: change xl_cfg_get_list to take a dont_warn parameter

xl_cfg_get_list can cope with the option not being a list, but
it always reports a warning in this case. Introduce a parameter
to omit this warning if needed. Future code can then decide what
to do with this information.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxlu_cfg.c
tools/libxl/libxlutil.h
tools/libxl/xl_cmdimpl.c